package com.sino.operation.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.Pattern;

/**
 * <p>
 * 中心柜员表
 * </p>
 *
 * @author admin
 * @since 2021-10-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SYS_TELLER")
@ApiModel(value="SysTeller对象", description="中心柜员表")
public class SysTeller implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId("ID")
    private String id;

    @ApiModelProperty(value = "柜员号")
    @TableField("TELLER_CODE")
    private String tellerCode;

    @ApiModelProperty(value = "机构号")
    @TableField("ORGAN_ID")
    private String organId;

    @ApiModelProperty(value = "柜员岗位")
    @TableField("TELLER_POST")
    private String tellerPost;

    @ApiModelProperty(value = "柜员名称")
    @TableField("TELLER_NAME")
    private String tellerName;

    @ApiModelProperty(value = "登录方式")
    @TableField("VALIDATE_WAY")
    private String validateWay;

    @ApiModelProperty(value = "1-柜员已签到，2柜员签退")
    @TableField("TELLER_STATE")
    private String tellerState;

    @ApiModelProperty(value = "密码")
    @TableField("TELLER_PASSWORD")
    private String tellerPassword;

    @ApiModelProperty(value = "维护柜员密码时间")
    @TableField("TELLER_DATE")
    private String tellerDate;

    @ApiModelProperty(value = "机动属性")
    @TableField("PART_TIME")
    private String partTime;

    @ApiModelProperty(value = "主技能组")
    @TableField("SG_ID")
    private String sgId;

    @ApiModelProperty(value = "兼职技能组")
    @TableField("PT_SG_ID")
    private String ptSgId;

    @ApiModelProperty(value = "作业中心")
    @TableField("CENTER_NO")
    private String centerNo;

    @ApiModelProperty(value = "是否上收全行业务")
    @TableField("ALL_TRANS")
    private String allTrans;

    @ApiModelProperty(value = "当前是否获取任务")
    @TableField("WORK_STATE")
    private String workState;

    @ApiModelProperty(value = "新密码")
    @TableField(exist =false)
//    @Pattern(regexp = "" ,message = "密码格式错误")
    private String newPassWord;

    @ApiModelProperty(value = "确认密码")
//    @Pattern(regexp = "" ,message = "密码格式错误")
    @TableField(exist =false)
    private String verifyPassWord;

}
